@-webkit-keyframes bounceIn{
0%,20%,40%,60%,80%,100%{
    -webkit-transition-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);
    transition-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);
}
0%{-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3);}
33%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1);}
66%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9);}
100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);}}
@keyframes bounceIn{
0%,20%,40%,60%,80%,100%{
    -webkit-transition-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);
    transition-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);
}
0%{-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3);}
33%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1);}
66%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9);}
100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);}}
@-webkit-keyframes bounceOut{
20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9);}
100%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3);}}
@keyframes bounceOut{
20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9);}
100%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3);}}
@-webkit-keyframes rotating {
    0% {
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
        transform: rotate3d(0, 0, 1, 0deg);
    }
    100% {
        -webkit-transform: rotate3d(0, 0, 1, 360deg);
        transform: rotate3d(0, 0, 1, 360deg);
    }
}
@keyframes rotating {
    0% {
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
        transform: rotate3d(0, 0, 1, 0deg);
    }
    100% {
        -webkit-transform: rotate3d(0, 0, 1, 360deg);
        transform: rotate3d(0, 0, 1, 360deg);
    }
}
.bounce-in{
    -webkit-animation-name: bounceIn;
    -webkit-animation-duration: 0.3s;
    -webkit-animation-name: bounceIn;
            animation-name: bounceIn;
    -webkit-animation-duration: 0.3s;
            animation-duration: 0.3s;
}
.bounce-out{
    -webkit-animation-name: bounceOut;
    -webkit-animation-duration: 0.2s;
    -webkit-animation-name: bounceOut;
            animation-name: bounceOut;
    -webkit-animation-duration: 0.2s;
            animation-duration: 0.2s;
}
.modal-wrapper{
    display: none;
}
.loading-animate{
    -webkit-animation: rotating 0.8s steps(12) infinite;
    animation: rotating 0.8s steps(12) infinite;
}
.loading-wrap{
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.5);
}
.loading-box{
    width: 37px;
    height: 37px;
    font-size: 0;
    position: relative;
}
.loading-wrap .loading-box{
    color: #fff;
}
.loading-block{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}
.loading-block:before, .loading-block:after{
    content: "";
    width: 3px;
    height: 9px;
    background-color: currentColor;
    position: absolute;
    border-radius: 6px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    left: 0;
    right: 0;
    margin: auto;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.loading-block:before{
    top: 1px;
}
.loading-block:after{
    bottom: 1px;
}
.loading-block:nth-child(2){
    -webkit-transform: rotate3d(0,0,1,30deg);
    transform: rotate3d(0,0,1,30deg);
}
.loading-block:nth-child(3){
    -webkit-transform: rotate3d(0,0,1,60deg);
    transform: rotate3d(0,0,1,60deg);
}
.loading-block:nth-child(4){
    -webkit-transform: rotate3d(0,0,1,90deg);
    transform: rotate3d(0,0,1,90deg);
}
.loading-block:nth-child(5){
    -webkit-transform: rotate3d(0,0,1,120deg);
    transform: rotate3d(0,0,1,120deg);
}
.loading-block:nth-child(6){
    -webkit-transform: rotate3d(0,0,1,150deg);
    transform: rotate3d(0,0,1,150deg);
}
.loading-block:nth-child(1):before{
    opacity: 0.9;
}
.loading-block:nth-child(2):before{
    opacity: 0.1;
}
.loading-block:nth-child(3):before{
    opacity: 0.1;
}
.loading-block:nth-child(4):before{
    opacity: 0.1;
}
.loading-block:nth-child(5):before{
    opacity: 0.1;
}
.loading-block:nth-child(6):before{
    opacity: 0.2;
}
.loading-block:nth-child(1):after{
    opacity: 0.3;
}
.loading-block:nth-child(2):after{
    opacity: 0.4;
}
.loading-block:nth-child(3):after{
    opacity: 0.5;
}
.loading-block:nth-child(4):after{
    opacity: 0.6;
}
.loading-block:nth-child(5):after{
    opacity: 0.7;
}
.loading-block:nth-child(6):after{
    opacity: 0.8;
}


.modal-wrapper{
    top: 0; left: 0; right: 0; bottom: 0;
    position:fixed;
    margin:auto;
    z-index: 99999;
    width:100%;
    -webkit-box-sizing:border-box;
            box-sizing:border-box;
    text-align:center;
    max-height:100%;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
}
.modal-container{
    /*max-width: 100%;*/
    display: inline-block;
    position: relative;
    margin: 0 auto;
    text-align: left;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.modal-content{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.modal-body{
    padding:15px;
}
.modal-close{
    color:inherit; font-size:30px; position:absolute; top:-30px; right:0; width:30px; height:30px; line-height:30px; cursor:pointer;
}
.modal-wrapper::-webkit-scrollbar{
    display: none;
}

.modal-shade{
    background-color: #000;
    opacity: 0.6;
    top: -200%;
    bottom: 0;
    left: -200%;
    right: 0;
    height: 500%;
    width: 500%;
    position: fixed;
    z-index: 99998;
}
.modal-container.modal-lg{
    max-width: 93.6%;
    /*max-width: 800px;*/
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    /*padding-left: 20px;*/
    /*padding-right: 20px;*/
    display: block;
}
.modal-container{
    border-radius: 8px;
    overflow: hidden;
}
.modal-container.modal-lg .modal-body{
    min-width: 200px;
}
.modal-container.modal-md .modal-body{
    min-width: 150px;
}
.modal-head{
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}
.modal-wrapper .modal-body{
    text-align: left;
    background-color: #fff;
    /*box-shadow: 0 1px 5px rgba(0,0,0,0.3);*/
}
.modal-wrapper .modal-body .message{
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.modal-wrapper .modal-foot{
    font-size: 0;
    word-spacing: 0;
    letter-spacing: 0;
    white-space: nowrap;
    background-color: rgba(255,255,255,0.3);
    border-top: 1px solid rgba(255,255,255,0.3);
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}
.modal-wrapper .modal-foot button{
    width: 50%;
    height: 42px;
    /*color: #333;*/
    font-size: 16px;
    word-spacing: normal;
    letter-spacing: normal;
    /*background-color: #fff;*/
    border-width: 0 1px;
    border-radius: 0 !important;
    vertical-align: top;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
            flex: 1;
}
.modal-wrapper .modal-foot button:first-child + button:last-child{
    margin-left: 1px;
}


.modal-confirm .modal-content{
    border-radius: 8px;
    overflow: hidden;
}
.modal-confirm .modal-body{
    border-radius: 0;
}